import { Suspense } from 'react'
import { RouterProvider } from 'react-router-dom'
import router from './router'

function App () {
  return (
    <Suspense fallback={<h2 style={{ textAlign: 'center' }}>loadding</h2>}>
      <RouterProvider router={router}></RouterProvider>
    </Suspense>
  )
}

export default App
